package org.paradise.pojo;

import java.io.Serializable;
import java.util.Objects;

public class VipType implements Serializable {
    private Integer id;
    private String name;
    private Integer packageid;
    private Integer money;
    private Integer state;

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPackageid() {
        return packageid;
    }

    public void setPackageid(Integer packageid) {
        this.packageid = packageid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        VipType vipType = (VipType) o;
        return Objects.equals(id, vipType.id) &&
                Objects.equals(name, vipType.name) &&
                Objects.equals(packageid, vipType.packageid) &&
                Objects.equals(state, vipType.state);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, packageid, state);
    }
}
